body, ul, li{
  margin: 0;
  padding: 0;
}
li{
  list-style: none;
}
a{
  text-decoration: none;
}
a:hover{
  font-size: 13pt;
}
/*下拉菜单*/
.drop-menu{
  position: relative;
}
.drop-menu:hover > .menu-list{
  display: block;
}
.menu-list{
  display: none;
  position: absolute;
  top: 30px;
  width: 120px;
  background: linear-gradient(to top, black, #eee);
  z-index: 100;
}
.menu-list2{
  left: 120px;
  background: linear-gradient(to left, black, #eee);
}

.container{
  min-width: 500px;
  max-width: 800px;
  min-height: 200px;
  margin: 0 auto;
}

.container > header {
  background-color: #eee;
  padding: 15px;
  border-radius: 20px 20px 0 0;
}

.container > nav{
  background: linear-gradient(black, #eee);
  margin: 20px 0;
}
.container > nav > a{
  display: none;
}
.container > nav > ul > li {
  display: inline-block;
}
.container > nav a{
  line-height: 30px;
  padding: 10px 20px;
  color: #fff;
}

.container > .main {
  /* width: 100%; */
  /* overflow: hidden; */
  box-sizing: border-box;
  position: relative;
}
.container > .main > .productList{
  /* width: 100%; */
  min-height: 300px;
  border: 1px solid #eee;
  position: absolute;
  right: 150px;
  left: 0;
  margin-bottom: 55px;
}
.container > .main > aside{
  float: right;
  width: 150px;
  box-sizing: border-box;
  padding-left: 15px;
}
.container > .main > aside > ul {
  border: 1px solid #eee;
  padding: 20px;
}
.product{
  display: inline-block;
  width: 80px;
  height: 120px;
  margin: 10px;
  border: 1px solid #eee;
  text-align: center;
}
.product > h4 {
  margin: 4px;
}
.product > img{
  width: 70px;
  height: 60px;
}
.product > p {
  margin: 3px;
  font-size: 9pt;
  color: #666;
}
footer {
  min-width: 500px;
  max-width: 800px;
  width: 100%;
  height: 50px;
  line-height: 50px;
  position: fixed;
  bottom: 0;
  text-align: center;
  background: #555;
  color: #fff;
}

@media (max-width: 500px) {
  .container > header h2, .container > header p, .container > nav > ul {
    display: none;
  }
  .container > nav > a{
    display: block;
  }
  .container > nav:hover > ul{
    display: block;
  }
  .container > nav > ul > li{
    display: block;
  }
  .menu-list{
    position: static;
    padding-left: 20px;
    width: 100%;
    background: transparent;
  }
}
